<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Like
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: index.tpl 2010-09-07 17:53 idris $
 * @author     Idris
 */
?>

<div id='profile_status'>
  <h2 class="like_status_header">
    <?php echo $this->subject()->getTitle() ?>
  </h2>
  
  <?php if ($this->subject->getType() == 'user'): ?>
  <?php if( $this->auth ): ?>
    <span class="profile_status_text" id="user_profile_status_container">
      <?php echo $this->viewMore($this->subject()->status) ?>
      <?php if( !empty($this->subject()->status) && $this->subject()->isSelf($this->viewer())): ?>
        <a class="profile_status_clear" href="javascript:void(0);" onclick="en4.user.clearStatus();">(<?php echo $this->translate('clear') ?>)</a>
      <?php endif; ?>
    </span>
  <?php endif; ?>
  <?php endif; ?>
  
  <?php if ($this->is_enabled): ?>
    <?php echo $this->likeButton($this->subject); ?>
    <?php if ($this->is_owner): ?>
      <?php echo $this->likeMenu(); ?>
    <?php endif; ?>

  <?php endif; ?>
  <div class="clr"></div>
</div>

<?php if( !$this->auth ): ?>
  <div class="tip">
    <span>
      <?php echo $this->translate('This profile is private - only friends of this member may view it.');?>
    </span>
  </div>
  <br />
<?php endif; ?>